import 'package:get/get_navigation/src/routes/get_route.dart';
import 'package:get/get_navigation/src/routes/transitions_type.dart';
import 'package:untitled/Page/login/login_view/login_view_page.dart';
import 'package:untitled/Page/login/register/register_page.dart';
import 'package:untitled/action_bar/action_bar.dart';

import '../Page/home/home_page.dart';
import '../Page/mine/mine_page.dart';

abstract class AppPages {
  static final pages = [
    GetPage(
      name: '/login',
      page: () => LoginViewPage(),
      transition: Transition.noTransition,
    ),
    GetPage(
      name: '/reg',
      page: () => RegisterPage(),
      transition: Transition.downToUp,
    ),
    GetPage(
        name: '/mine',
        page: () => MinePage(),
        transition: Transition.noTransition),
    GetPage(
        name: '/home',
        page: () => HomePage(),
        transition: Transition.noTransition),
    GetPage(
        name: '/bar',
        page: () => ActionBar(),
        transition: Transition.noTransition)
  ];
}
